import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Vuex from 'vuex'
import store from './store'
// scss
import './assets/sass/main.scss'
// antd
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
// 全局注册
Vue.use(Antd)

// 默认头部
import DeafaultHead from './components/headers/defaultHead.vue'
Vue.config.productionTip = false
// Vue.prototype.$store = store
Vue.component('DeafaultHead', DeafaultHead)
Vue.use(Vuex)
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
